package com.smartleanx.module.hrm.controller.admin.welcomemessage.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.util.*;
import com.alibaba.excel.annotation.*;
import com.smartleanx.framework.excel.core.annotations.DictFormat;
import com.smartleanx.framework.excel.core.convert.DictConvert;

@Schema(description = "管理后台 - 欢迎语 Response VO")
@Data
@ExcelIgnoreUnannotated
public class WelcomeMessageRespVO {

    @Schema(description = "主键id", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("主键id")
    private Long id;

    @Schema(description = "内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("内容")
    private String content;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty(value = "状态", converter = DictConvert.class)
    @DictFormat("common_status") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private Integer status;

}